<app-footer #footer (outer)="run()"></app-footer>

<br>

<br>

<h2>我是一个新闻组件</h2>
<br>

<br>
<button (click)="getChildMsg()">获取子组件的msg</button>
<br>
<button (click)="getChildRun()">获取子组件的方法</button>